import React from 'react';
import {Pagination} from 'react-bootstrap';


export default class PageTable extends React.Component{

	handleSelect(e,ek){
		this.setState({activePage : ek.eventKey});
	}

	render() {
		return(
			<div>
				<Pagination
		        prev={true}
		        next={true}
		        first={true}
		        last={true}
		        ellipsis={true}
		        boundaryLinks={true}
		        items={0}
		        maxButtons={5}
		        activePage={this.state.activePage}
		        onSelect={this.handleSelect.bind(this)} />
			<div>
		);
	}

}